package service;

import dao.HygInfoMapper;
import dao.NoticeInfoMapper;

import java.sql.SQLException;

/**
 * @author 李夏
 * @version 1.0
 */
public class NoticeInfoService {
    public static Integer queryNoticeAllCount() throws SQLException {
        return NoticeInfoMapper.queryNoticeAllCount();

    }

    public static Integer getNoticeOneBuild(Integer buildId) throws SQLException {
        return NoticeInfoMapper.getNoticeOneBuild(buildId);

    }
}
